=======================================================================================
FACILITY DATA FILE - Stellar Warfare Mod
=======================================================================================

Requirements Evaluation Availability:
  TRUE: This facility is available in the list for construction on a planet. 
Requirements Evaluation Allows Placement:
  TRUE: This facility can be built on a specific planet.  
Requirements Evaluation Allows Usage:
  TRUE: This facility that exists on a planet can be used.  


=======================================================================================
*BEGIN*
=======================================================================================

Name                                            := Metropolis
Description                                     := Major center of commerce and industry on a planet.
Facility Group                                  := Infrastructure
XFile Class Name                                := Resource Converter
Picture Number                                  := 26
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 300
Cost Organics Formula                           := 300
Cost Radioactives Formula                       := 300
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires 2 times the facility level of total tech levels in Planetary Industry and Macro Biology.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Planetary Industry") + Get_Empire_Tech_Level("Macro Biology")) >= ([%Level%] * 2)
Number of Abilities                             := 10
Ability 1 Type                                  := Mined Resource Generation - Minerals
Ability 1 Description                           := Produces [%Amount1%] of each resource each turn (modified by planet value).
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 180 + (60 * [%Level%])
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Mined Resource Generation - Organics
Ability 2 Description                           := 
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 180 + (60 * [%Level%])
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Mined Resource Generation - Radioactives
Ability 3 Description                           := 
Ability 3 Scope                                 := Space Object
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := 180 + (60 * [%Level%])
Ability 3 Amount 2 Formula                      := 0
Ability 4 Type                                  := Resource Storage - Minerals
Ability 4 Description                           := Stores [%Amount1%] of each resource.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := 450 + (150 * [%Level%])
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Resource Storage - Organics
Ability 5 Description                           := 
Ability 5 Scope                                 := Space Object
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 450 + (150 * [%Level%])
Ability 5 Amount 2 Formula                      := 0
Ability 6 Type                                  := Resource Storage - Radioactives
Ability 6 Description                           := 
Ability 6 Scope                                 := Space Object
Ability 6 Range Formula                         := 0
Ability 6 Amount 1 Formula                      := 450 + (150 * [%Level%])
Ability 6 Amount 2 Formula                      := 0
Ability 7 Type                                  := Supply Generation
Ability 7 Description                           := Produces [%Amount1%] supplies and ordnance each turn.
Ability 7 Scope                                 := Space Object
Ability 7 Range Formula                         := 0
Ability 7 Amount 1 Formula                      := 500
Ability 7 Amount 2 Formula                      := 0
Ability 8 Type                                  := Supply Storage
Ability 8 Description                           := Stores [%Amount1%] supplies and ordnance.
Ability 8 Scope                                 := Space Object
Ability 8 Range Formula                         := 0
Ability 8 Amount 1 Formula                      := 10000
Ability 8 Amount 2 Formula                      := 0
Ability 9 Type                                  := Ordnance Generation
Ability 9 Description                           := 
Ability 9 Scope                                 := Space Object
Ability 9 Range Formula                         := 0
Ability 9 Amount 1 Formula                      := 500
Ability 9 Amount 2 Formula                      := 0
Ability 10 Type                                 := Ordnance Storage
Ability 10 Description                          := 
Ability 10 Scope                                := Space Object
Ability 10 Range Formula                        := 0
Ability 10 Amount 1 Formula                     := 10000
Ability 10 Amount 2 Formula                     := 0

Name                                            := Solar Plant
Description                                     := Solar generators which can refine radioactives and produce supplies using solar energy.
Facility Group                                  := Infrastructure
XFile Class Name                                := Solar Generator
Picture Number                                  := 42
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 400
Cost Organics Formula                           := 100
Cost Radioactives Formula                       := 100
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires 2 times the facility level of total tech levels in Macro Biology and Nuclear Physics.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Macro Biology") + Get_Empire_Tech_Level("Nuclear Physics")) >= ([%Level%] * 2)
Number of Abilities                             := 4
Ability 1 Type                                  := Solar Resource Generation - Radioactives
Ability 1 Description                           := Produces [%Amount1%] radioactives per star in the system each turn.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 360 + (120 * [%Level%])
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Solar Supply Generation
Ability 2 Description                           := Stores [%Amount1%] radioactives.
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 900 + (300 * [%Level%])
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Solar Supply Generation
Ability 3 Description                           := Produces [%Amount1%] supplies per star in the system each turn.
Ability 3 Scope                                 := Space Object
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := 1000
Ability 3 Amount 2 Formula                      := 0
Ability 4 Type                                  := Supply Storage
Ability 4 Description                           := Stores [%Amount1%] supplies.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := 20000
Ability 4 Amount 2 Formula                      := 0

Name                                            := Mineral Reclamation
Description                                     := Advanced mineral detection and recycling which improves mineral extraction for an entire system.
Facility Group                                  := Infrastructure
XFile Class Name                                := Mineral Scanner
Picture Number                                  := 21
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 2000
Tonnage Structure Formula                       := 2000
Cost Minerals Formula                           := 2000
Cost Organics Formula                           := 500
Cost Radioactives Formula                       := 500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Spaceborne Industry, or 3 additional levels in Orbital Industry.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Spaceborne Industry") >= [%Level%]) or (Get_Empire_Tech_Level("Orbital Industry") >= [%Level%] + 3)
Number of Abilities                             := 2
Ability 1 Type                                  := Resource Gen Modifier - Minerals
Ability 1 Description                           := +[%Amount1%]% mining rate in this system from Mineral Reclamation. (Only one per system effective.)
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 10 * [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Resource Gen Modifier - Minerals
Ability 2 Description                           := +[%Amount1%]% mining rate on this planet from Mineral Reclamation. (Only one per planet effective.)
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 10 * [%Level%]
Ability 2 Amount 2 Formula                      := 0

Name                                            := Soil Enrichment
Description                                     := Advanced growing techniques which improve farming effectiveness in a system.
Facility Group                                  := Infrastructure
XFile Class Name                                := Hybrid Ecofarms
Picture Number                                  := 22
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 2000
Tonnage Structure Formula                       := 2000
Cost Minerals Formula                           := 500
Cost Organics Formula                           := 2000
Cost Radioactives Formula                       := 500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Evolutionary Transcendence, or 3 additional levels in Genetic Manipulation.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Evolutionary Transcendence") >= [%Level%]) or (Get_Empire_Tech_Level("Genetic Manipulation") >= [%Level%] + 3)
Number of Abilities                             := 2
Ability 1 Type                                  := Resource Gen Modifier - Organics
Ability 1 Description                           := +[%Amount1%]% farming rate in this system from Soil Enrichment. (Only one per system effective.)
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 10 * [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Resource Gen Modifier - Organics
Ability 2 Description                           := +[%Amount1%]% farming rate on this planet from Soil Enrichment. (Only one per planet effective.)
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 10 * [%Level%]
Ability 2 Amount 2 Formula                      := 0

Name                                            := Particle Collider
Description                                     := High-speed particle collider which improves radioactives output in a system.
Facility Group                                  := Infrastructure
XFile Class Name                                := Radioactives Collider
Picture Number                                  := 23
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 2000
Tonnage Structure Formula                       := 2000
Cost Minerals Formula                           := 500
Cost Organics Formula                           := 500
Cost Radioactives Formula                       := 2000
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Subspace Physics, or 3 additional levels in Quantum Physics.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Subspace Physics") >= [%Level%]) or (Get_Empire_Tech_Level("Quantum Physics") >= [%Level%] + 3)
Number of Abilities                             := 2
Ability 1 Type                                  := Resource Gen Modifier - Radioactives
Ability 1 Description                           := +[%Amount1%]% refining rate in this system from Particle Collider. (Only one per system effective.)
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 10 * [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Resource Gen Modifier - Radioactives
Ability 2 Description                           := +[%Amount1%]% refining rate on this planet from Particle Collider. (Only one per planet effective.)
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 10 * [%Level%]
Ability 2 Amount 2 Formula                      := 0

Name                                            := Light Shipyard
Description                                     := Minimal construction facility suited for smaller colonies.
Facility Group                                  := Construction
XFile Class Name                                := Robotoid Factory
Picture Number                                  := 9
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 2000
Tonnage Structure Formula                       := 2000
Cost Minerals Formula                           := 1200
Cost Organics Formula                           := 1200
Cost Radioactives Formula                       := 1200
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires 3 times the facility level of total tech levels in Planetary Industry, Macro Biology, and Nuclear Physics.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Planetary Industry") + Get_Empire_Tech_Level("Macro Biology") + Get_Empire_Tech_Level("Nuclear Physics")) >= ([%Level%] * 3)
Number of Abilities                             := 9
Ability 1 Type                                  := Space Yard
Ability 1 Description                           := Can construct with [%Amount2%] of each resource per turn.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 1
Ability 1 Amount 2 Formula                      := 150 + ([%Level%] * 50)
Ability 2 Type                                  := Space Yard
Ability 2 Description                           := 
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 2
Ability 2 Amount 2 Formula                      := 150 + ([%Level%] * 50)
Ability 3 Type                                  := Space Yard
Ability 3 Description                           := 
Ability 3 Scope                                 := Space Object
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := 3
Ability 3 Amount 2 Formula                      := 150 + ([%Level%] * 50)
Ability 4 Type                                  := Tonnage Repair Ship
Ability 4 Description                           := Can repair [%Amount1%]kT of ship tonnage per turn.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := 50 + ([%Level%] * 10)
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Tonnage Repair Unit
Ability 5 Description                           := Can repair [%Amount1%]kT of unit tonnage per turn.
Ability 5 Scope                                 := Space Object
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 60 + ([%Level%] * 20)
Ability 5 Amount 2 Formula                      := 0
Ability 6 Type                                  := Tonnage Repair Facility
Ability 6 Description                           := Can repair [%Amount1%]kT of facility tonnage per turn.
Ability 6 Scope                                 := Space Object
Ability 6 Range Formula                         := 0
Ability 6 Amount 1 Formula                      := 150 + ([%Level%] * 50)
Ability 6 Amount 2 Formula                      := 0
Ability 7 Type                                  := Resource Storage - Minerals
Ability 7 Description                           := Stores [%Amount1%] of each resource.
Ability 7 Scope                                 := Space Object
Ability 7 Range Formula                         := 0
Ability 7 Amount 1 Formula                      := 750 + (250 * [%Level%])
Ability 7 Amount 2 Formula                      := 0
Ability 8 Type                                  := Resource Storage - Organics
Ability 8 Description                           := 
Ability 8 Scope                                 := Space Object
Ability 8 Range Formula                         := 0
Ability 8 Amount 1 Formula                      := 750 + (250 * [%Level%])
Ability 8 Amount 2 Formula                      := 0
Ability 9 Type                                  := Resource Storage - Radioactives
Ability 9 Description                           := 
Ability 9 Scope                                 := Space Object
Ability 9 Range Formula                         := 0
Ability 9 Amount 1 Formula                      := 750 + (250 * [%Level%])
Ability 9 Amount 2 Formula                      := 0

Name                                            := Heavy Shipyard
Description                                     := Massive construction facility suited for larger colonies.
Facility Group                                  := Construction
XFile Class Name                                := SpaceYard
Picture Number                                  := 1
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 5000
Tonnage Structure Formula                       := 5000
Cost Minerals Formula                           := 7500
Cost Organics Formula                           := 7500
Cost Radioactives Formula                       := 7500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires 3 times the facility level of total tech levels in Planetary Industry, Macro Biology, and Nuclear Physics.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Planetary Industry") + Get_Empire_Tech_Level("Macro Biology") + Get_Empire_Tech_Level("Nuclear Physics")) >= ([%Level%] * 3)
Number of Abilities                             := 9
Ability 1 Type                                  := Space Yard
Ability 1 Description                           := Can construct with [%Amount2%] of each resource per turn.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 1
Ability 1 Amount 2 Formula                      := 900 + ([%Level%] * 300)
Ability 2 Type                                  := Space Yard
Ability 2 Description                           := 
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 2
Ability 2 Amount 2 Formula                      := 900 + ([%Level%] * 300)
Ability 3 Type                                  := Space Yard
Ability 3 Description                           := 
Ability 3 Scope                                 := Space Object
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := 3
Ability 3 Amount 2 Formula                      := 900 + ([%Level%] * 300)
Ability 4 Type                                  := Tonnage Repair Ship
Ability 4 Description                           := Can repair [%Amount1%]kT of ship tonnage per turn.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := 300 + ([%Level%] * 60)
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Tonnage Repair Unit
Ability 5 Description                           := Can repair [%Amount1%]kT of unit tonnage per turn.
Ability 5 Scope                                 := Space Object
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 360 + ([%Level%] * 120)
Ability 5 Amount 2 Formula                      := 0
Ability 6 Type                                  := Tonnage Repair Facility
Ability 6 Description                           := Can repair [%Amount1%]kT of facility tonnage per turn.
Ability 6 Scope                                 := Space Object
Ability 6 Range Formula                         := 0
Ability 6 Amount 1 Formula                      := 900 + ([%Level%] * 300)
Ability 6 Amount 2 Formula                      := 0
Ability 7 Type                                  := Resource Storage - Minerals
Ability 7 Description                           := Stores [%Amount1%] of each resource.
Ability 7 Scope                                 := Space Object
Ability 7 Range Formula                         := 0
Ability 7 Amount 1 Formula                      := 4500 + (1500 * [%Level%])
Ability 7 Amount 2 Formula                      := 0
Ability 8 Type                                  := Resource Storage - Organics
Ability 8 Description                           := 
Ability 8 Scope                                 := Space Object
Ability 8 Range Formula                         := 0
Ability 8 Amount 1 Formula                      := 4500 + (1500 * [%Level%])
Ability 8 Amount 2 Formula                      := 0
Ability 9 Type                                  := Resource Storage - Radioactives
Ability 9 Description                           := 
Ability 9 Scope                                 := Space Object
Ability 9 Range Formula                         := 0
Ability 9 Amount 1 Formula                      := 4500 + (1500 * [%Level%])
Ability 9 Amount 2 Formula                      := 0

Name                                            := Research Lab
Description                                     := High-tech research facility which develops new technology for a society.
Facility Group                                  := Science
XFile Class Name                                := Research Center
Picture Number                                  := 7
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 300
Cost Organics Formula                           := 300
Cost Radioactives Formula                       := 300
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Planetary Governance.
Requirement 1 Formula                           := Get_Empire_Tech_Level("Planetary Governance") >= [%Level%]
Number of Abilities                             := 1
Ability 1 Type                                  := Point Generation - Research
Ability 1 Description                           := Generates [%Amount1%] research points each turn.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 6 + (2 * [%Level%])
Ability 1 Amount 2 Formula                      := 0

Name                                            := Supercomputer
Description                                     := Massive centralized computer which improves research capabilities throughout a star system. Only one per system is effective.
Facility Group                                  := Science
XFile Class Name                                := Central Computer Complex
Picture Number                                  := 24
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 2000
Tonnage Structure Formula                       := 2000
Cost Minerals Formula                           := 1000
Cost Organics Formula                           := 1000
Cost Radioactives Formula                       := 1000
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Stellar Governance.
Requirement 1 Formula                           := Get_Empire_Tech_Level("Stellar Governance") >= [%Level%]
Number of Abilities                             := 1
Ability 1 Type                                  := Point Generation Modifier - Research
Ability 1 Description                           := Research in this system is increased by [%Amount1%]% by Supercomputer.
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 10 * [%Level%]
Ability 1 Amount 2 Formula                      := 0

Name                                            := Planetary Fortification
Description                                     := Military bases which train ship crews, improve ground combat strength for the defender (only 1 effective), and provide space for military units (multiples effective).
Facility Group                                  := Defense
XFile Class Name                                := Cargo Storage
Picture Number                                  := 13
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 2000
Tonnage Structure Formula                       := 5000 + ([%Level%] * 1000)
Cost Minerals Formula                           := 2000
Cost Organics Formula                           := 1000
Cost Radioactives Formula                       := 500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Planetary Governance.
Requirement 1 Formula                           := Get_Empire_Tech_Level("Planetary Governance") >= [%Level%]
Number of Abilities                             := 4
Ability 1 Type                                  := Ground Combat Damage Modifier
Ability 1 Description                           := Ground combat damage for the defender of this planet increased by [%Amount1%]% by Planetary Fortification.
Ability 1 Scope                                 := Sector - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 20 * [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Ship Training
Ability 2 Description                           := Ships in this sector gain [%Amount1%] experience points per turn.
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 50 + ([%Level%] * 50)
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Fleet Training
Ability 3 Description                           := Fleets in this sector gain [%Amount1%] experience points per turn.
Ability 3 Scope                                 := Space Object
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := 50 + ([%Level%] * 50)
Ability 3 Amount 2 Formula                      := 0
Ability 4 Type                                  := Storage Cargo Space Amount
Ability 4 Description                           := Stores [%Amount1%]kT of units.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := 2500 + ([%Level%] * 500)
Ability 4 Amount 2 Formula                      := 0

Name                                            := Security Agency
Description                                     := Top-secret military base which increases ground combat strength system-wide.
Facility Group                                  := Defense
XFile Class Name                                := Intelligence Center
Picture Number                                  := 8
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 1000
Cost Organics Formula                           := 2000
Cost Radioactives Formula                       := 500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Stellar Governance.
Requirement 1 Formula                           := Get_Empire_Tech_Level("Stellar Governance") >= [%Level%]
Number of Abilities                             := 1
Ability 1 Type                                  := Ground Combat Damage Modifier
Ability 1 Description                           := Ground combat damage in this system increased by [%Amount1%]% by Security Agency.
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 20 * [%Level%]
Ability 1 Amount 2 Formula                      := 0

Name                                            := Space Dock
Description                                     := Spaceport facility which gathers resources and refuels and repairs ships.
Facility Group                                  := Support
XFile Class Name                                := Spaceport
Picture Number                                  := 2
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 2000
Tonnage Structure Formula                       := 2000
Cost Minerals Formula                           := 1000
Cost Organics Formula                           := 1000
Cost Radioactives Formula                       := 1000
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Planetary Governance and also in Planetary Industry.
Requirement 1 Formula                           := Get_Empire_Tech_Level("Planetary Governance") >= [%Level%] and Get_Empire_Tech_Level("Planetary Industry") >= [%Level%]
Number of Abilities                             := 6
Ability 1 Type                                  := Points Added to Empire Pool
Ability 1 Description                           := The [%ScopePlayerName%] can collect resources and points from colonies in this system.
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 0
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Remote Supply Distribution
Ability 2 Description                           := Up to [%Amount1%] supplies can be distributed to vehicles in this system (provided enough is present at Space Docks)
Ability 2 Scope                                 := System - This Player
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 1500 + ([%Level%] * 500)
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Remote Ordnance Distribution
Ability 3 Description                           := Up to [%Amount1%] ordnance can be distributed to vehicles in this system (provided enough is present at Space Docks)
Ability 3 Scope                                 := System - This Player
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := 1500 + ([%Level%] * 500)
Ability 3 Amount 2 Formula                      := 0
Ability 4 Type                                  := Tonnage Repair Ship
Ability 4 Description                           := Can repair [%Amount1%]kT of ship tonnage per turn.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := 150 + ([%Level%] * 50)
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Tonnage Repair Unit
Ability 5 Description                           := Can repair [%Amount1%]kT of unit tonnage per turn.
Ability 5 Scope                                 := Space Object
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 60 + ([%Level%] * 20)
Ability 5 Amount 2 Formula                      := 0
Ability 6 Type                                  := Tonnage Repair Facility
Ability 6 Description                           := Can repair [%Amount1%]kT of facility tonnage per turn.
Ability 6 Scope                                 := Space Object
Ability 6 Range Formula                         := 0
Ability 6 Amount 1 Formula                      := 50 + ([%Level%] * 10)
Ability 6 Amount 2 Formula                      := 0

Name                                            := Radar Station
Description                                     := Electromagnetic sensor station which detects nearby ships.
Facility Group                                  := Support
XFile Class Name                                := System Gravitational Shield
Picture Number                                  := 29
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 500
Cost Organics Formula                           := 250
Cost Radioactives Formula                       := 750
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent levels in Nuclear Physics and Sensors.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Nuclear Physics") >= [%Level%]) and (Get_Empire_Tech_Level("Sensors") >= [%Level%])
Number of Abilities                             := 5
Ability 1 Type                                  := Sight Range
Ability 1 Description                           := Detects ships within [%Amount1%] sectors.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 1 + [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Sight Level
Ability 2 Description                           := Detects cloaked ships up to cloak level [%Amount1%].
Ability 2 Scope                                 := System - This Player
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 1 + [%Level%]
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Combat To Hit Offense
Ability 3 Description                           := 
Ability 3 Scope                                 := Sector - This Player
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := [%Level%] * 2
Ability 3 Amount 2 Formula                      := 2
Ability 4 Type                                  := Description Only
Ability 4 Description                           := To-hit rolls increased by [%Amount1%] in this sector.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := [%Level%] * 2
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Long Range Scanner
Ability 5 Description                           := Ships in this system can be scanned in detail.
Ability 5 Scope                                 := System - This Player
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 99
Ability 5 Amount 2 Formula                      := 0

Name                                            := Gravidar Station
Description                                     := Gravitic sensor station which detects nearby ships.
Facility Group                                  := Support
XFile Class Name                                := Replicant Center
Picture Number                                  := 45
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 750
Cost Organics Formula                           := 500
Cost Radioactives Formula                       := 1500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Quantum Physics and level plus 2 in Sensors.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Quantum Physics") >= [%Level%]) and (Get_Empire_Tech_Level("Sensors") >= [%Level%] + 2)
Number of Abilities                             := 5
Ability 1 Type                                  := Sight Range
Ability 1 Description                           := Detects ships within [%Amount1%] sectors.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 2 + [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Sight Level
Ability 2 Description                           := Detects cloaked ships up to cloak level [%Amount1%].
Ability 2 Scope                                 := System - This Player
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 2 + [%Level%]
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Combat To Hit Offense
Ability 3 Description                           := 
Ability 3 Scope                                 := Sector - This Player
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := [%Level%] * 4
Ability 3 Amount 2 Formula                      := 2
Ability 4 Type                                  := Description Only
Ability 4 Description                           := To-hit rolls increased by [%Amount1%] in this sector.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := [%Level%] * 4
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Long Range Scanner
Ability 5 Description                           := Ships in this system can be scanned in detail.
Ability 5 Scope                                 := System - This Player
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 99
Ability 5 Amount 2 Formula                      := 0

Name                                            := Tachyon Station
Description                                     := FTL sensor station which detects nearby ships.
Facility Group                                  := Support
XFile Class Name                                := Time Shrine
Picture Number                                  := 33
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 1000
Cost Organics Formula                           := 1000
Cost Radioactives Formula                       := 3000
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Subspace Physics and level plus 4 in Sensors.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Subspace Physics") >= [%Level%]) and (Get_Empire_Tech_Level("Sensors") >= [%Level%] + 4)
Number of Abilities                             := 5
Ability 1 Type                                  := Sight Range
Ability 1 Description                           := Detects ships within [%Amount1%] sectors.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 3 + [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Sight Level
Ability 2 Description                           := Detects cloaked ships up to cloak level [%Amount1%].
Ability 2 Scope                                 := System - This Player
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 3 + [%Level%]
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Combat To Hit Offense
Ability 3 Description                           := 
Ability 3 Scope                                 := Sector - This Player
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := [%Level%] * 8
Ability 3 Amount 2 Formula                      := 2
Ability 4 Type                                  := Description Only
Ability 4 Description                           := To-hit rolls increased by [%Amount1%] in this sector.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := [%Level%] * 8
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Long Range Scanner
Ability 5 Description                           := Ships in this system can be scanned in detail.
Ability 5 Scope                                 := System - This Player
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 99
Ability 5 Amount 2 Formula                      := 0

Name                                            := Psionic Outpost
Description                                     := Psionic sensor station which detects nearby ships.
Facility Group                                  := Support
XFile Class Name                                := Psychic Scanner
Picture Number                                  := 41
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 1000
Cost Organics Formula                           := 3000
Cost Radioactives Formula                       := 1000
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level plus 2 in Sensors and equivalent level in Evolutionary Transcendence, or in Macro Biology with Psionic Aptitude.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Sensors") >= [%Level%] + 2) and ((Get_Empire_Tech_Level("Evolutionary Transcendence") >= [%Level%]) or (Get_Empire_Tech_Level("Macro Biology") >= [%Level%]) and (Get_Empire_Tech_Level("Psionic Aptitude") >= [%Level%]))
Number of Abilities                             := 5
Ability 1 Type                                  := Sight Range
Ability 1 Description                           := Detects ships within [%Amount1%] sectors.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 5 + [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Sight Level
Ability 2 Description                           := Detects cloaked ships up to cloak level [%Amount1%].
Ability 2 Scope                                 := System - This Player
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 2 * [%Level%]
Ability 2 Amount 2 Formula                      := 0
Ability 3 Type                                  := Combat To Hit Offense
Ability 3 Description                           := 
Ability 3 Scope                                 := Sector - This Player
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := [%Level%] * 10
Ability 3 Amount 2 Formula                      := 2
Ability 4 Type                                  := Description Only
Ability 4 Description                           := To-hit rolls increased by [%Amount1%] in this sector.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := [%Level%] * 10
Ability 4 Amount 2 Formula                      := 0
Ability 5 Type                                  := Long Range Scanner
Ability 5 Description                           := Ships in this system can be scanned in detail.
Ability 5 Scope                                 := System - This Player
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 99
Ability 5 Amount 2 Formula                      := 0

Name                                            := Hospital
Description                                     := A facility dedicated to curing disease and improving the lifespan of your citizens.
Facility Group                                  := Support
XFile Class Name                                := Medical Lab
Picture Number                                  := 10
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 500
Cost Organics Formula                           := 2000
Cost Radioactives Formula                       := 500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Macro Biology, or level 1 in Genetic Manipulation.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Macro Biology") >= [%Level%]) or (Get_Empire_Tech_Level("Genetic Manipulation") >= 1)
Number of Abilities                             := 2
Ability 1 Type                                  := Plague Prevention
Ability 1 Description                           := Cures level [%Amount1%] plagues that break out in this system.
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := [%Level%]
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Planet Population Reproduction
Ability 2 Description                           := Populations in this system will reproduce [%Amount1%]% faster (only 1 facility per system effective).
Ability 2 Scope                                 := System - This Player
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := [%Level%] * 2
Ability 2 Amount 2 Formula                      := 0

Name                                            := Gestation Vats
Description                                     := Artificial gestation chambers which greatly increase the reproduction rate of an entire system.
Facility Group                                  := Support
XFile Class Name                                := Gestation Vats
Picture Number                                  := 27
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 1000
Tonnage Structure Formula                       := 1000
Cost Minerals Formula                           := 1000
Cost Organics Formula                           := 3000
Cost Radioactives Formula                       := 1500
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent level in Evolutionary Transcendence, or in Macro Biology with DNA Duplicator.
Requirement 1 Formula                           := (Get_Empire_Tech_Level("Evolutionary Transcendence") >= [%Level%]) or ((Get_Empire_Tech_Level("Macro Biology") >= [%Level%]) and (Get_Empire_Tech_Level("DNA Duplicator") >= 1))
Number of Abilities                             := 1
Ability 1 Type                                  := Planet Population Reproduction
Ability 1 Description                           := Populations in this system will reproduce [%Amount1%]% faster (only 1 facility per system effective).
Ability 1 Scope                                 := System - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := [%Level%] * 10
Ability 1 Amount 2 Formula                      := 0

Name                                            := Terraforming Plant
Description                                     := Massive ecological conversion facility which makes a planet more hospitable to life.
Facility Group                                  := Support
XFile Class Name                                := Climate Control
Picture Number                                  := 19
Maximum Level                                   := 5
Tonnage Space Taken Formula                     := 3000
Tonnage Structure Formula                       := 3000
Cost Minerals Formula                           := 2000
Cost Organics Formula                           := 5000
Cost Radioactives Formula                       := 3000
Number Of Requirements                          := 1
Requirements Evaluation Availability            := AND
Requirements Evaluation Allows Placement        := TRUE
Requirements Evaluation Allows Usage            := TRUE
Requirement 1 Description                       := Requires equivalent levels in Evolutionary Transcendence and Orbital Industry, or in Macro Biology and Planetary Industry with Gaian Philosophy.
Requirement 1 Formula                           := ((Get_Empire_Tech_Level("Evolutionary Transcendence") >= [%Level%]) and (Get_Empire_Tech_Level("Orbital Industry") >= [%Level%])) or ((Get_Empire_Tech_Level("Macro Biology") >= [%Level%]) and (Get_Empire_Tech_Level("Planetary Industry") >= [%Level%]) and (Get_Empire_Tech_Level("Gaian Philosophy") >= 1))
Number of Abilities                             := 1
Ability 1 Type                                  := Planet Conditions Change
Ability 1 Description                           := Improves the conditions of the planet by [%Amount1%]% each year.
Ability 1 Scope                                 := Space Object
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 5 + (5 * [%Level%])
Ability 1 Amount 2 Formula                      := 0
Ability 2 Type                                  := Planet Atmosphere Change
Ability 2 Description                           := Changes the atmosphere of the planet to one that is breathable by its colony over [%Amount1%] years.
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 3.5 - ([%Level%] / 2)
Ability 2 Amount 2 Formula                      := 0

Name                                            := Capital
Description                                     := Legacy infrastructure that took centuries to build. If you lose it, you can't replace it!
Facility Group                                  := Support
XFile Class Name                                := Energy Transmission Lens
Picture Number                                  := 44
Maximum Level                                   := 0
Tonnage Space Taken Formula                     := 0
Tonnage Structure Formula                       := 25000
Cost Minerals Formula                           := 0
Cost Organics Formula                           := 0
Cost Radioactives Formula                       := 0
Number Of Requirements                          := 0
Requirements Evaluation Availability            := FALSE
Requirements Evaluation Allows Placement        := FALSE
Requirements Evaluation Allows Usage            := FALSE
Number of Abilities                             := 11
Ability 1 Type                                  := Planet Population Happiness
Ability 1 Description                           := +[%Amount1%] happiness from presence of Capital in empire. (Only one effective.)
Ability 1 Scope                                 := Galaxy - This Player
Ability 1 Range Formula                         := 0
Ability 1 Amount 1 Formula                      := 1
Ability 1 Amount 2 Formula                      := 44
Ability 2 Type                                  := Resource Gen Modifier - Minerals
Ability 2 Description                           := +[%Amount1%]% mining rate on this colony from Capital.
Ability 2 Scope                                 := Space Object
Ability 2 Range Formula                         := 0
Ability 2 Amount 1 Formula                      := 50
Ability 2 Amount 2 Formula                      := 44
Ability 3 Type                                  := Resource Gen Modifier - Organics
Ability 3 Description                           := +[%Amount1%]% farming rate on this colony from Capital.
Ability 3 Scope                                 := Space Object
Ability 3 Range Formula                         := 0
Ability 3 Amount 1 Formula                      := 50
Ability 3 Amount 2 Formula                      := 44
Ability 4 Type                                  := Resource Gen Modifier - Radioactives
Ability 4 Description                           := +[%Amount1%]% refining rate on this colony from Capital.
Ability 4 Scope                                 := Space Object
Ability 4 Range Formula                         := 0
Ability 4 Amount 1 Formula                      := 50
Ability 4 Amount 2 Formula                      := 44
Ability 5 Type                                  := Combat To Hit Offense
Ability 5 Description                           := To-hit rolls increased by [%Amount1%] in this system from Capital.
Ability 5 Scope                                 := System - This Player
Ability 5 Range Formula                         := 0
Ability 5 Amount 1 Formula                      := 20
Ability 5 Amount 2 Formula                      := 44
Ability 6 Type                                  := Combat To Hit Defense
Ability 6 Description                           := +[%Amount1%] evasion bonus in this system from Capital.
Ability 6 Scope                                 := System - This Player
Ability 6 Range Formula                         := 0
Ability 6 Amount 1 Formula                      := 20
Ability 6 Amount 2 Formula                      := 44
Ability 7 Type                                  := Resource Storage - Minerals
Ability 7 Description                           := Capital stores [%Amount1%] of each resource.
Ability 7 Scope                                 := Space Object
Ability 7 Range Formula                         := 0
Ability 7 Amount 1 Formula                      := 50000
Ability 7 Amount 2 Formula                      := 0
Ability 8 Type                                  := Resource Storage - Organics
Ability 8 Description                           := 
Ability 8 Scope                                 := Space Object
Ability 8 Range Formula                         := 0
Ability 8 Amount 1 Formula                      := 50000
Ability 8 Amount 2 Formula                      := 0
Ability 9 Type                                  := Resource Storage - Radioactives
Ability 9 Description                           := 
Ability 9 Scope                                 := Space Object
Ability 9 Range Formula                         := 0
Ability 9 Amount 1 Formula                      := 50000
Ability 9 Amount 2 Formula                      := 0
Ability 10 Type                                  := Facility Maintenance Cost Modifier
Ability 10 Description                           := Homeworlds pay half the normal amount of maintenance on facilities and units.
Ability 10 Scope                                 := Space Object
Ability 10 Range Formula                         := 0
Ability 10 Amount 1 Formula                      := -50
Ability 10 Amount 2 Formula                      := 0
Ability 11 Type                                  := Unit Maintenance Cost Modifier
Ability 11 Description                           := 
Ability 11 Scope                                 := Space Object
Ability 11 Range Formula                         := 0
Ability 11 Amount 1 Formula                      := -50
Ability 11 Amount 2 Formula                      := 0

=======================================================================================
*END*
=======================================================================================


